/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.yuhanginfo.modules.sys.dao;

import java.util.List;

import com.yuhanginfo.common.persistence.CrudDao;
import com.yuhanginfo.common.persistence.annotation.MyBatisDao;
import com.yuhanginfo.modules.sys.entity.Materiel;

/**
 * 物料DAO接口
 * @author yinhao
 * @version 2017-09-21
 */
@MyBatisDao
public interface MaterielDao extends CrudDao<Materiel> {

	int isExistMaterielByVenderId(String venderId);

	List<Materiel> materList(Materiel materiel);

	List<Materiel> allList();

	List<Materiel> auditingMaterList(Materiel materiel);

	void updateAuditingStatus(Materiel materiel);

	Materiel selectById(String useId);

	String findMaxCode(String prefix);

	
}